package com.example.demo.service;

import com.example.demo.entity.Message;

import java.util.List;

public interface MessageService {

    List<Message> getMessageList(Message message);

    Message queryMessage(Message message);

    void addMessage(Message message) throws Exception;

    void updateMessage(Message message) throws Exception;
}
